
import request from '@/utils/request';

// 查询数据表名
export async function queryTableList(params) {
  return request('/b/scanresulttable/queryTableList', {
    method: 'POST',
    data: params,
  });
}

// 查询数据列名
export async function queryColumnList(params) {
  return request('/b/dbscanresult/queryColumnList', {
    method: 'POST',
    data: params,
  });
}
// 查询数据库信息表名称列表
export async function queryDbNameList(params) {
  return request('/b/dbinfo/queryDbNameList', {
    method: 'POST',
    data: params,
  });
}

//查询敏感字段扫描结果表表名称
export async function queryTableNameList(params) {
  return request('/b/dbscanresult/queryTableNameList', {
    method: 'POST',
    data: params,
  });
}
//查询数据分级表名称列表
export async function queryNameList(params) {
  return request('/b/datalevel/queryNameList', {
    method: 'POST',
    data: params,
  });
}